import add from "./js/add";
import person from "./js/person.json";

import "./css/index.css";
import "./css/public.less";

import huoguo from "./img/01.jpg";
import huoying from "./img/03.gif";
add(1, 2);
console.log(person);

// 把图片创建出来并插入
const huoguoImg=new Image();
const huoyingImg=new Image();
huoguoImg.src=huoguo;
huoyingImg.src=huoying;
document.body.appendChild(huoguoImg);
document.body.appendChild(huoyingImg);